package org.mcjug;

import org.mcjug.model.StatusData;

import winterwell.jtwitter.Twitter;
import android.content.SharedPreferences;

public interface YambaApplicationInterface {

	public static final String LOCATION_PROVIDER_NONE = "NONE";
	public static final int INTERVAL_NEVER = 0;

	public abstract Twitter getTwitter();

	public abstract void loginToTwitter();

	public abstract int fetchStatusUpdates();

	public abstract void onSharedPreferenceChanged(SharedPreferences sp,
			String key);

	public abstract boolean isServiceRunning();

	public abstract void setServiceRunning(boolean serviceRunning);

	public abstract StatusData getStatusData();

	public abstract String getProvider();

	public abstract int getInterval();

}